package client;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.test.webservice.IHelloWorld;

public class Client {
	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext-client.xml");
		IHelloWorld hw = (IHelloWorld) context.getBean("helloWebService");
		System.out.println(hw.sayHello("John"));
		System.out.println(hw.plus(1, 2));
	}
}
